<?php

namespace App\Models\V1;

use Illuminate\Database\Eloquent\Factories\HasFactory;

class Games extends BaseModel
{
    use HasFactory;
    protected $table="games";
    protected $fillable=['users_id','operate_id','version_id','photo','name','size','ip','version','port','logo','file_addr','file_name','database_id','is_configured','test_formal','high_how','remark','state'];

    public function getStateAttribute()
    {
        return (string)$this->attributes['state'];
    }






}
